GoXam for WPF v3
FindNodeByKey Method (TreeModel<NodeType,NodeKey>)
Northwoods.GoXam.Model Namespace > TreeModel<NodeType,NodeKey> Class : FindNodeByKey Method
a value of null for this argument will result in the default value for NodeType
Given a key, find the node data with that key.
Syntax
public NodeType FindNodeByKey( 
   NodeKey key
)

Parameters

key
a value of null for this argument will result in the default value for NodeType

Return Value

a NodeType; the value will be the default for the type if no such node data is known to be in this model
Remarks

This is used for model navigation.

If NodeKeyIsNodeData is true, this just converts the key argument to the NodeType type and returns it.

See Also

Reference

TreeModel<NodeType,NodeKey> Class
TreeModel<NodeType,NodeKey> Members